import org.apache.log4j.PropertyConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Teste {

	private static final Logger LOGGER = LoggerFactory.getLogger(Teste.class);

	public static void main(String[] args) {
		new Teste().init();
	}

	public void init() {
		PropertyConfigurator.configure("config/log4j.properties");

		System.out.println("iniciando");
		LOGGER.trace("trace");
		LOGGER.debug("debug");
		LOGGER.info("info");
		LOGGER.warn("warn");
		LOGGER.error("erro");
	}

}
